<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sdl2-mixer</Name>
        <Homepage>https://github.com/libsdl-org/SDL_mixer</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Zlib</License>
        <IsA>library</IsA>
        <Summary>SDL2 mixer library</Summary>
        <Description>SDL2_mixer is a SDL2 library for loading sound files.</Description>
        <Archive sha1sum="036fc7839a6b8dc1af3dbfed4e2531224bbacdd7" type="targz">
            https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.2/SDL2_mixer-2.6.2.tar.gz
        </Archive>
        <BuildDependencies>
            <Dependency>flac-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>opusfile-devel</Dependency>
            <Dependency>libsdl2-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>fluidsynth-devel</Dependency>
            <Dependency>libmodplug-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1">missing.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>sdl2-mixer</Name>
        <RuntimeDependencies>
            <Dependency>flac</Dependency>
            <Dependency>mpg123</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libsdl2</Dependency>
            <Dependency>opusfile</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>fluidsynth</Dependency>
            <Dependency>libmodplug</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>sdl2-mixer-devel</Name>
        <Summary>Development files for sdl2-mixer</Summary>
        <RuntimeDependencies>
            <Dependency release="current">sdl2-mixer</Dependency>
            <Dependency>libsdl2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>sdl2-mixer-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for sdl2-mixer</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>flac-32bit</Dependency>
            <Dependency>mpg123-32bit</Dependency>
            <Dependency>libopus-32bit</Dependency>
            <Dependency>libsdl2-32bit</Dependency>
            <Dependency>opusfile-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">sdl2-mixer</Dependency>
            <Dependency>flac-32bit</Dependency>
            <Dependency>mpg123-32bit</Dependency>
            <Dependency>libopus-32bit</Dependency>
            <Dependency>libsdl2-32bit</Dependency>
            <Dependency>opusfile-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-01-24</Date>
            <Version>2.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="1">
            <Date>2020-03-07</Date>
            <Version>2.0.4</Version>
            <Comment>First release</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
